import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;

/**
 * @Description
 */

public class Test {
    public static void main(String[] args) {
        Game game = new Game();
        ArrayList<Card> cards = game.crateCards();
        System.out.println(game.crateCards());
        game.shuffle(cards);
        System.out.println(cards);
        
        //玩牌
        ArrayList<ArrayList<Card>> hand = game.play(cards);
        for (int i = 0; i < 3; i++) {
            System.out.println("第"+i+"个人的牌是"+hand.get(i));
        }
        System.out.println("剩下的牌是"+cards);
    }
}
